<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
  <style>
    .active{
      color: red;
    }
  </style>
</head>
<body>

<div id="app" v-cloak>
  <ul>
    <li v-for="(m,index) in movies">{{index}}--
      HJ{{m}}</li>
  </ul>

  <nar-bar :style></nar-bar>
</div>

<script src="../js/vue%20.js"></script>
<script>
  setTimeout(function (){
  const app = new Vue({
    el: '#app',
    data: {
      message: 'hello',
      movies: ['火影忍者','海贼王']
    },
    methods: {
      getClasses: function() {
        return [this.active, this.line]
      }
    }
  })
  },1000)
</script>
</body>
</html>